package com.ByteDance.service;

import com.ByteDance.model.po.Relation;
import com.ByteDance.model.vo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户关系表 服务类
 * </p>
 *
 * @author 朱哥
 * @since 2024-03-04
 */
public interface IRelationService extends IService<Relation> {

    Boolean action(int userId,int toUserId, int actionType);

    User[] getFollowList(int userId);

    User[] getFollowerList(int userId);

    User[] getFriendList(int userId);
}
